runtime.p.runqtail (field)
18 uses
runtime (current package)
proc.go#L3578: if mp.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L5097: for pp.runqhead != pp.runqtail {
proc.go#L5099: pp.runqtail--
proc.go#L5100: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L5815: t := atomic.Load(&pp.runqtail)
proc.go#L6175: tail := atomic.Load(&pp.runqtail)
proc.go#L6177: if tail == atomic.Load(&pp.runqtail) {
proc.go#L6219: t := pp.runqtail
proc.go#L6222: atomic.StoreRel(&pp.runqtail, t+1) // store-release, makes the item available for consumption
proc.go#L6279: t := pp.runqtail
proc.go#L6291: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L6299: atomic.StoreRel(&pp.runqtail, t)
proc.go#L6323: t := pp.runqtail
proc.go#L6345: t := pp.runqtail
proc.go#L6380: t := atomic.LoadAcq(&pp.runqtail) // load-acquire, synchronize with the producer
proc.go#L6433: t := pp.runqtail
proc.go#L6447: atomic.StoreRel(&pp.runqtail, t+n) // store-release, makes the item available for consumption
runtime2.go#L642: runqtail uint32
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |